package cn.iocoder.yudao.module.dify.controller.admin.taskprocessingrecords.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户调用dify任务工作流处理记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TaskProcessingRecordsPageReqVO extends PageParam {

    @Schema(description = "用户选择文件id列表")
    private String fileIdList;

    @Schema(description = "原始文件名列表", example = "李四")
    private String originalName;

    @Schema(description = "Dify接口请求ID", example = "5448")
    private String difyRequestId;

    @Schema(description = "Dify生成的文件下载URL", example = "https://www.iocoder.cn")
    private String difyDownloadUrl;

    @Schema(description = "Dify链接过期时间")
    private LocalDateTime difyExpiresAt;

    @Schema(description = "Dify接口返回数据")
    private String difyResponse;

    @Schema(description = "MinIO访问URL", example = "https://www.iocoder.cn")
    private String minioUrl;

    @Schema(description = "处理状态", example = "1")
    private Boolean processStatus;

    @Schema(description = "重试次数", example = "5654")
    private Integer retryCount;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "任务类型", example = "2")
    private Boolean type;

}